package com.principle.composite.modify;

public class Leaf /*implements ILeaf*/ extends Corp{

	public Leaf(String _name, String _position, int _salary) {
		super(_name, _position, _salary);
	}

//	private String name = "";
//	private String position = "";
//	private int salary = 0;
//
//	public Leaf(String name, String position, int salary) {
//		this.name = name;
//		this.position = position;
//		this.salary = salary;
//	}
//
//	@Override
//	public String getInfo() {
//		String info = "";
//		info = "姓名：" + this.name;
//		info = info + "\t职位：" + this.position;
//		info = info + "\t薪水：" + this.salary;
//		return info;
//	}

}
